package com.lmqb.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lmqb.bean.GrabCarrierFamilies;

public interface GrabCarrierFamiliesMapper {
    int deleteByPrimaryKey(Integer grabId);

    int insert(GrabCarrierFamilies record);

    int insertSelective(GrabCarrierFamilies record);

    GrabCarrierFamilies selectByPrimaryKey(Integer grabId);

    int updateByPrimaryKeySelective(GrabCarrierFamilies record);

    int updateByPrimaryKey(GrabCarrierFamilies record);

	List<GrabCarrierFamilies> selectByUserId(@Param(value="startPos") Integer startPos,
            @Param(value="pageSize") Integer pageSize,@Param("userId")Integer userId);
	
	Integer familyCount(Integer userId);
}